// 首页
import axios from '@/api/request/request'

// 列表
const enterpriseList = (option: any) => {
  return axios.get('/enterprise/list', { ...option })
}

// 保存
const enterpriseSave = (option: any) => {
  return axios.post('/enterprise/save', { ...option })
}

// 删除
const enterpriseDelete = (option: any) => {
  return axios.get('/enterprise/delete', { ...option })
}

export { enterpriseList, enterpriseSave, enterpriseDelete }
